package isva.impl.model;

import org.dormi.learn.promotion.model.Promotion;
import org.dormi.learn.promotion.util.BaseSerializable;

import java.math.BigDecimal;

/**
 * add description here
 *
 * @author : dormi330
 * @version : 1.0
 */
public class PromotionIsvA extends BaseSerializable implements Promotion {
    private Long id = 1L;
    private String name = "测试促销";
    private int priority = 0;
    private BigDecimal discount = new BigDecimal("0.10");

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }
}
